package com.heima.article.feign;

import com.heima.model.user.pojos.ApUserFollow;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
//@FeignClient("leadnews-user")
@Repository
public interface UserFollowFeign {
    //查询是否关注操作
    @GetMapping("/api/v1/user_follow/one")
    public ApUserFollow findByUserIdAndFollowId(@RequestParam("userId") Integer userId, @RequestParam("followId") Integer followId);
}
